from distutils.core import setup, Extension
import setup_translate


dreamcrc = Extension('Extensions/EPGImport/dreamcrc', sources=['dreamcrc.c'])

pkg = 'Extensions.EPGImport'
setup(name='enigma2-plugin-extensions-xmltvimport',
		version='0.9.13',
		description='C implementation of Dream CRC32 algorithm',
		package_dir={pkg: 'EPGImport'},
		packages=[pkg],
		package_data={pkg: ['*.png', 'locale/*/LC_MESSAGES/*.mo']},
		ext_modules=[dreamcrc],
		cmdclass=setup_translate.cmdclass, # for translation
)
